/*
============================================================================
Name        : ETTinyLog.h
Author      : 
Version     :
Copyright   : Your copyright notice
Description : CETTinyLog declaration
============================================================================
*/

#ifndef ETTINYLOG_H
#define ETTINYLOG_H

#include <e32std.h>
#include <e32base.h>

#include "flogger.h"
#include "string.h"
#include "stdio.h"

class CETTinyLog : public CBase
{
public:
	static void Log(const TDesC& aMsg);
	static void Log(const TDesC8& aMsg);
	static void Log(const char* aMsg);

	static void Log(TRefByValue<const TDesC> aFmt, VA_LIST& aList);
	static void Log(TRefByValue<const TDesC8> aFmt, VA_LIST& aList);

	static void Log(const TDesC& aErrTypeName, const TDesC& aErrMsg);
	static void Log(const TDesC& aErrTypeName, const TDesC8& aErrMsg);

	static void Log(const TDesC& aErrMsg, const TInt aErrCode);

	static void LogStamp(const TDesC &aStampComment);
	static void LogFunc(const char* aFuncName, TBool aIsBegin = ETrue);
	static void LogFuncPoint(const char* aFuncName, TInt aPoint);
};


#endif // ETTINYLOG_H
